<template>
  <div id="app">
    <router-view v-slot="{Component}">
      <keep-alive :include="['homeView', 'detailView', 'categoryView', 'collectView', 'mineView', 'editAddressView', 'shopcartView']">
        <component :is="Component"/>
      </keep-alive>
    </router-view>
  </div>
</template>

<style lang="scss" scoped>
.box{
  p{
    color: red;
  }
}
</style>
